<%--
  Created by IntelliJ IDEA.
  User: 温海杰
  Date: 2020/6/17
  Time: 9:44
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>管理员登录（adamin_login）</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/admin_login.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/fonts.css">
<body>
<div class="main">
    <div class="login">
        <div class="welcome" >
            集大新闻
        </div>
        <%
            String msg = (String) request.getAttribute("msg");
        %>

            <script>
                var message = '<%=msg%>';
                if(message !=='null')
            alert(message);
            </script>
<%--管理员登录页面--%>
            <form action="${pageContext.request.contextPath}/admin/login" method="post">

                <input class="account iconfont" type="text" name="username" placeholder=" &#xe606;&nbsp输入账号" >
                <br/>
                <input class="password iconfont" type="password" name="password" placeholder=" &#xe606;&nbsp输入密码">
                <br/>
                <input class="submit_button" type="submit" value="登录">
            </form>
    </div>
</div>
</body>
</html>
